package com.quanyan.authority.mapper;

import com.quanyan.authority.mapper.base.IMapper;
import com.quanyan.authority.model.db.TbFunction;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by Administrator on 2016/7/28.
 */
public interface FunctionMapper extends IMapper<TbFunction> {

    /**
     * 获取用户功能集合
     * @param roleIds //用户
     * @return
     */
    public List<TbFunction> getUserFunction(@Param("list")List<Integer> roleIds);
}
